{% extends "base.html" %}

{% block title %}{{ look_student.name }}的个人信息与介绍{% endblock %}
{% block content %}
<div class="ui container">
	<br/>
	<h1>{{ look_student.name }}</h1>
	<br/>
	{% if look_student.bool_intro %}
		<legend></legend>
		<h3>个人信息</h3>
		<p>姓名: {{ look_student.name }}</p>
		<p>号数: {{ look_student.seat_number }}</p>
		<p>QQ号: {{ look_student.qq_number }}</p>
		<p>电话号码: {{ look_student.phone_number }}</p>

		<br/>
		<h3>他人介绍:</h3>
			 <!-- <p></p>  -->
		<p>{{ markdown|safe }}</p>

		<br/>
		<p>上次编辑：{{ look_student.last_edit }}</p>
		<a class="ui button" href="{% url 'student:history' look_student.seat_number %}">查看编辑历史</a>
		<a class="ui primary button" href="{% url 'student:editor' look_student.seat_number %}" 
					role='button'>我要补充几句！</a>
			 <!-- <p></p> -->
		<br/><br/>
	{% else %}
		<p>并没有人帮他写介绍捏</p>
		<a href="{% url 'student:editor' look_student.seat_number %}">要不然你来当这个冤大头？</a>
	{% endif %}
</div>
{% endblock %}